package com.shop.cloud.model.request.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ApiUpdateUserInfoRequest extends ApiRestfulRequest {

    private static final long serialVersionUID = -3286520204644035655L;
    
    public static final int TYPE_AVATAR = 1; 	// 1:头像
    public static final int TYPE_NICKNAME = 2; 	// 2:昵称
    public static final int TYPE_SEX = 3; 		// 3:性别
    public static final int TYPE_PHONE = 4; 		// 4:手机号码
    public static final int TYPE_AREA = 5; 		// 5:地区
    public static final int TYPE_BIRTHDAY = 6; 	// 6:生日
    public static final int TYPE_MEMBERCARD = 7; // 7:会员卡号码

    @JsonProperty("params")
    @ApiModelProperty(value = "参数", example = "object", required = true)
    private ApiUpdateUserInfoRequestModel params;
    
    public ApiUpdateUserInfoRequestModel getParams() {
        return params;
    }

    public void setParams(ApiUpdateUserInfoRequestModel params) {
        this.params = params;
    }	
	
 
}
